students = {
    'k1': 1,
    'k2': 2,
    'k3': 3
}

key_name = [key for key,val in students.items()]
print(key_name)

re_students = {val:key for key,val in students.items()}
print(re_students)